package com.chuantou.yuba.api.to;

import android.os.Parcel;
import android.os.Parcelable;

import com.google.gson.annotations.SerializedName;

/**
 * 动态评论TO
 * 
 * @author dl1001
 * 
 */
public class TrendsCommentTO implements Parcelable {
	// 评论ID
	@SerializedName("id")
	private Long id;
	// 动态ID
	@SerializedName("feed_id")
	private Long trendsId;
	// 评论用户ID
	@SerializedName("uid")
	private Long uid;
	// 被回复用户id
	@SerializedName("reply_uid")
	private Long replyUid;
	// 评论用户昵称
	@SerializedName("username")
	private String nickname;
	// 被回复用户昵称
	@SerializedName("reply_username")
	private String replyNickname;
	// 评论内容
	@SerializedName("content")
	private String content;

	public TrendsCommentTO() {
	}

	public TrendsCommentTO(Parcel source) {
		// TODO 需要序列化时再做
	}

	@Override
	public int describeContents() {
		return 0;
	}

	@Override
	public void writeToParcel(Parcel dest, int flags) {
		// TODO 需要序列化时再做
	}

	public static final Creator<TrendsCommentTO> CREATOR = new Creator<TrendsCommentTO>() {

		@Override
		public TrendsCommentTO[] newArray(int size) {
			return new TrendsCommentTO[size];
		}

		@Override
		public TrendsCommentTO createFromParcel(Parcel source) {
			return new TrendsCommentTO(source);
		}
	};

	public Long getId() {
		return id == null ? 0 : id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Long getTrendsId() {
		return trendsId == null ? 0 : trendsId;
	}

	public void setTrendsId(Long trendsId) {
		this.trendsId = trendsId;
	}

	public Long getUid() {
		return uid == null ? 0 : uid;
	}

	public void setUid(Long uid) {
		this.uid = uid;
	}

	public Long getReplyUid() {
		return replyUid == null ? 0 : replyUid;
	}

	public void setReplyUid(Long replyUid) {
		this.replyUid = replyUid;
	}

	public String getNickname() {
		return nickname;
	}

	public void setNickname(String nickname) {
		this.nickname = nickname;
	}

	public String getReplyNickname() {
		return replyNickname;
	}

	public void setReplyNickname(String replyNickname) {
		this.replyNickname = replyNickname;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

}
